projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
771dbe0
)
wayland: Only set wayland selection for GDK_SELECTION_CLIPBOARD
author
Kristian Høgsberg
<krh@bitplanet.net>
Sat, 24 Aug 2013 06:10:22 +0000
(23:10 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Sat, 24 Aug 2013 06:15:54 +0000
(23:15 -0700)
Wayland only has one selection, which corresponds to GDK_SELECTION_CLIPBOARD.
gtk/gtkclipboard-wayland.c
patch
|
blob
|
history
diff --git
a/gtk/gtkclipboard-wayland.c
b/gtk/gtkclipboard-wayland.c
index d3eb9069bf585474538048dd8da6ef93f59e8f44..8f6012e1931ab933330f2bff11bc04cd13a7d9ad 100644
(file)
--- a/
gtk/gtkclipboard-wayland.c
+++ b/
gtk/gtkclipboard-wayland.c
@@
-148,6
+148,9
@@
gtk_clipboard_wayland_set_contents (GtkClipboard *gtkclipboard,
gchar **mimetypes;
SetContentClosure *closure, *last_closure;
+ if (gtkclipboard->selection != GDK_SELECTION_CLIPBOARD)
+ return;
+
last_closure = clipboard->last_closure;
if (!last_closure ||
(!last_closure->have_owner && have_owner) ||